import React from "react";
import "./login.css";

class login extends React.Component {
  render() {
    return (
      <div className="BackgroundMap">
        <img src="https://account.xiaomi.com/static/res/7f6f2f5/account-static/respassport/acc-2014/img/mistore_logo.png" className="logo"></img>
        <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/72644d9b8031286de3cc74e151aefd90.jpg"></img>
        <div className="login">
          <p>账号登录 | 扫码登录</p>
          <p>
            <input type="text" />
          </p>
          <p>
            <input type="password" />
          </p>
          <p>
            <button
              onClick={() => {
                this.props.history.push("/home");
              }}
            >
              登录
            </button>
          </p>
          <p>手机短信登录/注册</p>
          <p>立即注册 | 忘记密码</p>
        </div>
      </div>
    );
  }
}

export default login;
